﻿using System;
using System.Collections.Generic;
using System.Text;
using GSE.Rpc;
using Google.Protobuf;
using GSE.test.protos;
namespace client.RequestHandlers
{
    public class HeroHandler : RequestHandler
    {

        [RpcRegisterHandlerMethod("Hero.ReportStatus")]
        [RpcRegisterHandlerMethod("HeroReportStatus")]
        public HeroReportStatusResponse ReportHeroSHtatus(HeroReportStatusRequest _)
        {
            var status = new HeroReportStatusResponse();
            status.Name = "yingzheng";
            status.Health = 80;
            status.HeroId = 8921;
            return status;
        }
    }


    public class EquipHandler : RequestHandler
    {
        [RpcRegisterHandlerMethod("Equip.GetNew")]
        public GetNewEquipResponse GetNewEquip()
        {
            var r = new GetNewEquipResponse();
            return r;
        }
    }

    public class SkillHandler : TestBaseHandler
    {

    }

    public class TestBaseHandler : RequestHandler
    {

    }
}
